projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae8fc7
)
Make gtk-encode-symbolic-svg work for icons with dotted names
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 25 Nov 2016 13:55:33 +0000
(08:55 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 25 Nov 2016 13:55:33 +0000
(08:55 -0500)
We were producing org.symbolic.png from org.gnome.Recipes-symbolic.svg,
which is not useful. Look for the last dot in the original name, to
produce the expected org.gnome.Recipes-symbolic.symbolic.png instead.
gtk/encodesymbolic.c
patch
|
blob
|
history
diff --git
a/gtk/encodesymbolic.c
b/gtk/encodesymbolic.c
index 42e8d9c93648acaab76b93ce5fd8c23f611b2b1b..e6d01dd5c201b244e057123ba5eb23795fb95895 100644
(file)
--- a/
gtk/encodesymbolic.c
+++ b/
gtk/encodesymbolic.c
@@
-282,7
+282,7
@@
main (int argc, char **argv)
basename = g_path_get_basename (path);
- dot = str
chr
(basename, '.');
+ dot = str
rchr
(basename, '.');
if (dot != NULL)
*dot = 0;
pngfile = g_strconcat (basename, ".symbolic.png", NULL);